INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/device/include/)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/cmsis_lib/include/)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/cmsis_boot/)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/debug/)
						
SET(SRC_LIST source/blast.c
			source/dh11.c
			source/led.c
			source/sr04.c
			source/sflash.c
			source/enc28j60.c
			source/slc.c
			source/fire.c)

SET(PORT_LIST portable/ir.c
				portable/io.c
				portable/eint.c)

ADD_LIBRARY(device STATIC ${SRC_LIST}
							${PORT_LIST})
